Objects Reference

mesh::illum_faces

Prototype

void illum_faces(vector& p,float d_max,vector& c,int shadows)

Parameters

Parameter Type Description
p vector& light point
d_max float light radius
c vector& light color
shadows int shadow flags:
0 - no shadows
1 - shadow from specific object (flyengine::shadow_obj)
2 - gloabl shadows 

Return Value

None

Remarks

This function illuminates the mesh faces light maps. It is used only on meshes with light maps like the static bsp leaf mesh.